package com.jwsoft.manager.common.enums;

public enum DeleteTypeEnum {
    BMB("1", "报名表"),
    SHB("2", "审核表"),
    LQB("3", "录取表");

    private String type;
    private String name;

    private DeleteTypeEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public String getName() {
        return this.name;
    }

    public static DeleteTypeEnum getByType(String type) {
        for (DeleteTypeEnum typeEnum : values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }
}
